package com.library.mapper;

import com.library.bean.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper {
    List<Book> findBooksByConditions(@Param("book") Book book);

    int deleteBook(int bookId);

    int updateBook(Book book);

    int insertBook(Book book);

    Book selectBookByName(String bookName);
}
